#include <stdio.h>
#include <stdlib.h>

int main(){

	char *s = "abcdefg";
	int i = 123456, p[10];
	
	p[0] = (int)s;
	printf("1:  %d\n", p[0]);					//	4206592
	printf("2:  %s\n", p[0]); 					//	abcdefg 
	printf("3:  %s\n", 4206592);				//	abcdefg	
	
	p[1] = (int)&s;
	printf("4:  %d\n", p[1]); 					//	2293532
	printf("5:  %s\n", p[1]); 					//
	printf("6:  %d\n", *((char **)p[1]));	//	4206592	
	printf("7:  %s\n", *((char **)p[1])); 	//	abcdefg
	
	//..................	
	
	getch();
}
